package com.bingxue.edu.management.education.model.query;

import com.bingxue.edu.framework.mybatis.query.Query;
import com.bingxue.edu.framework.mybatis.query.QueryType;
import com.bingxue.edu.management.education.model.entity.Classroom;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 教室查询条件
 *
 * @author panbo
 * @since 2024/07/17 19:02
 */
@Data
@Schema(description = "教室查询条件")
@TableRef(Classroom.class)
public class ClassroomQuery {

    @Schema(description = "校区")
    private String campusId;

    @Schema(description = "名称")
    @Query(type = QueryType.LIKE)
    private String name;
}
